-
Notifications
You must be signed in to change notification settings - Fork 78
Makes the github PR workflow test against all OSes #154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Mirrors the structure of the NodeJS ric with respect to github actions to run integ tests against all vendors. Issues with particular vendors won't be fixed in this PR to keep it short. Drops: python 3.7 in all but al1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, lgtm
|
||
alpine: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run alpine integration tests | ||
run: DISTRO=alpine make test-integ | ||
|
||
amazonlinux: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run amazonlinux integration tests | ||
run: DISTRO=amazonlinux make test-integ | ||
|
||
centos: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run centos integration tests | ||
run: DISTRO=centos make test-integ | ||
|
||
debian: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run debian integration tests | ||
run: DISTRO=debian make test-integ | ||
|
||
ubuntu: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run ubuntu integration tests | ||
run: DISTRO=ubuntu make test-integ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was pulled directly from the nodejs ric.
@@ -21,7 +21,7 @@ test-smoke: setup-codebuild-agent | |||
|
|||
.PHONY: test-integ | |||
test-integ: setup-codebuild-agent | |||
CODEBUILD_IMAGE_TAG=codebuild-agent tests/integration/codebuild-local/test_all.sh tests/integration/codebuild/. | |||
CODEBUILD_IMAGE_TAG=codebuild-agent DISTRO="$(DISTRO)" tests/integration/codebuild-local/test_all.sh tests/integration/codebuild/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pulled from nodejs ric, with some modification on the test path.
echo $DISTRO $BUILDSPEC_YML_DIR | ||
ls $BUILDSPEC_YML_DIR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: this isn't necessary, will remove later.
Fixes: #153
Description of changes: makes the github PR workflow test against all OSes. Fixing integ tests is out of scope of this PR.
Drops 3.7 from all OSes except for AL1. AL1 will be removed completely in subsequent PR.
Target (OCI, Managed Runtime, both): N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.